﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace PaperMaster.Utility.Controller
{
    /// <summary>
    /// controller基类
    /// </summary>
    public abstract class Controller 
    {
        /// <summary>
        /// 注册事件
        /// </summary>
        protected abstract void RegisterEvents();

        /// <summary>
        /// 初始化函数
        /// </summary>
        protected virtual void Init()
        {
            RegisterEvents();
        }
    }
}
